home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
70
/
examples
/
examples.arc
/
COND.ST
< prev
next >
Wrap
Text File
|
1985-11-20
|
199b
|
11 lines
Class Main
[
main | i |
((2 < 3) ifTrue: ['correct']) print.
(2 < 3) ifTrue: ['correct' print ].
i <- 1.
[i < 3] whileTrue: [i <- i + 1].
(i >= 3) ifTrue: ['correct' print]
]